package com.itheima.controller;

import java.util.*;

public class Teset {
    public static void main(String[] args) {
            Calendar cal = Calendar.getInstance();
            cal.add(Calendar.DATE, -1);
            System.out.println(cal.getTime());

    }
    }



